home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Setup / BCB / data.z / xcmcmsx2.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-09  |  1.2 KB  |  62 lines

  1. /*
  2.  *  XCMCMSX2.H
  3.  *
  4.  *  Purpose:
  5.  *  Specifies constants and data structures for Microsoft CMC extensions
  6.  *  set update (forms extensions)
  7.  *
  8.  */
  9.  
  10. #ifndef _XCMCMSX2_H
  11. #define _XCMCMSX2_H
  12. #pragma option push -b
  13.  
  14.  
  15. #ifndef XCMCMSXT_H
  16. #   include <xcmcmsxt.h>
  17. #endif
  18.  
  19. #ifndef MAPIDEFS_H
  20. #   include <mapidefs.h>
  21. #endif
  22.  
  23. #ifdef __BORLANDC__
  24. #  include <pshpack8.h>
  25. #endif
  26.  
  27. #ifdef __cplusplus
  28. extern "C" {
  29. #endif
  30.  
  31. /* Get an extended MAPI session from a CMC session */
  32. #ifdef MAPIX_H
  33.  
  34. STDMETHODIMP_(SCODE)
  35. ScMAPIXFromCMC(CMC_session_id cmc_session,
  36.                 ULONG ulFlags,
  37.                 LPCIID lpInterface,
  38.                 LPMAPISESSION FAR * lppMAPISession);
  39.  
  40. #endif /* MAPIX_H */
  41.  
  42. /* Extra flag for CMC_X_MS_ATTACH_DATA */
  43. #define CMC_X_MS_ATTACH_MESSAGE         ((CMC_flags) 4)
  44.  
  45. /* Attachment descriptor for CMC_X_ATTACH_DATA */
  46. typedef struct {
  47.     CMC_message_reference FAR *message;
  48.     CMC_uint32              id;
  49.     CMC_buffer              object;
  50. } CMC_X_MS_ATTACH;  
  51.  
  52. #ifdef __cplusplus
  53. }      /* extern "C" */
  54. #endif
  55.  
  56. #ifdef __BORLANDC__
  57. #  include <poppack.h>
  58. #endif
  59.  
  60. #pragma option pop
  61. #endif /* _XCMCMSX2_H */
  62.